<i>
    <%@page language="java" pageEncoding="UTF-8" %>
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>返利-合约表 编辑页面</title>
        <meta
                content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
                name="viewport">
        <jsp:include page="../com/header.jsp"></jsp:include>
        <script type="text/javascript" src="../../js/comm/editcomm.js"></script>
        <script type="text/javascript" src="fanliRules.js"></script>
    </head>
    <body>
    <section>
        <div>
            <div class="col-xs-12">
                <div class="box" style="height:900px">
                    <div class="box-header">
                        <br> <input type="button" value="确定" id="saveOrupdate"
                                    class="btn btn-success"> <input type="button" value="返回"
                                                                    onclick="backAction('fanliRulesList.jsp');"
                                                                    class="btn btn-info">
                    </div>
                    <form id="submit_form" class="form-horizontal">
                        <div class="tab" id="fanliRulesContent"></div>
                    </form>
                </div>
            </div>
        </div>
    </section>
    <script type="text/x-jsrender" id="fanliRulesTmpl">
			<fieldset> 
				<input type="hidden" id="tId" name="id" value="{{:id}}" />
				<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">商家：</label>
					<div class="col-md-3">
						<select class="form-control input-sm" id="busId" name="busId" value="{{:busId}} data-rule="required" ></select>
					</div>
      			</div>
				<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">商家服务费利率：</label>
       				 <div class="col-md-3">
						<input type="text" placeholder="请填写商家服务费利率" class="form-control input-sm" data-rule="required;length[0~50];plusnums1" id="busfaliRate" name="busfaliRate" value="{{:fanliRules.busfaliRate}}" />
					</div>
      			</div>
				<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">平台返利率：</label>
       				 <div class="col-md-3">
						<input type="text" placeholder="请填写平台返利率" class="form-control input-sm" data-rule="required;length[0~50];plusnums1" id="platformRaliRate" name="platformRaliRate" value="{{:fanliRules.platformRaliRate}}" />
					</div>
      			</div>
				<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">用户返利率：</label>
       				 <div class="col-md-3">
						<input type="text" placeholder="请填写用户返利率" class="form-control input-sm" data-rule="required;length[0~50];plusnums1" id="userFaliRate" name="userFaliRate" value="{{:fanliRules.userFaliRate}}" />
					</div>
      			</div>
				<div class="form-group">
        			<label class="col-md-2 control-label controls" for="formGroupInputSmall">返利结算时长：</label>
       				 <div class="col-md-3">
						<input type="text" placeholder="请填写返利结算时长" class="form-control input-sm" data-rule="required;length[0~255];number" id="faliDays" name="faliDays" value="{{:fanliRules.faliDays}}" />
					</div>
      			</div>
			</fieldset>

    </script>
    </body>
    </html>
</i>